package com.groupseven.backend.controller;

import com.groupseven.backend.domain.ResultType;
import com.groupseven.backend.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v1/dictionary")
public class DictionaryController {
    @Autowired
    private RedisUtil redis;

    @GetMapping("/")
    public ResultType getDictionary(){
        return null;
    }

    @PostMapping("/")
    public ResultType addDictionary(){
        return null;
    }

    @PutMapping("/")
    public ResultType updateDictionary(){
        return null;
    }

    @PutMapping("/{DictNumber}")
    public ResultType deleteDictByNumber(@PathVariable int DictNumber){
        return null;
    }
}
